package com.njkwt.business.system.domain;

import java.util.ArrayList;
import java.util.List;

public class ModuleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ModuleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("Id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("Id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("Id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("Id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("Id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("Id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("Id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("Id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("Id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("Id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("Id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("Id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("Id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("Id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCascadeidIsNull() {
            addCriterion("CascadeId is null");
            return (Criteria) this;
        }

        public Criteria andCascadeidIsNotNull() {
            addCriterion("CascadeId is not null");
            return (Criteria) this;
        }

        public Criteria andCascadeidEqualTo(String value) {
            addCriterion("CascadeId =", value, "cascadeid");
            return (Criteria) this;
        }

        public Criteria andCascadeidNotEqualTo(String value) {
            addCriterion("CascadeId <>", value, "cascadeid");
            return (Criteria) this;
        }

        public Criteria andCascadeidGreaterThan(String value) {
            addCriterion("CascadeId >", value, "cascadeid");
            return (Criteria) this;
        }

        public Criteria andCascadeidGreaterThanOrEqualTo(String value) {
            addCriterion("CascadeId >=", value, "cascadeid");
            return (Criteria) this;
        }

        public Criteria andCascadeidLessThan(String value) {
            addCriterion("CascadeId <", value, "cascadeid");
            return (Criteria) this;
        }

        public Criteria andCascadeidLessThanOrEqualTo(String value) {
            addCriterion("CascadeId <=", value, "cascadeid");
            return (Criteria) this;
        }

        public Criteria andCascadeidLike(String value) {
            addCriterion("CascadeId like", value, "cascadeid");
            return (Criteria) this;
        }

        public Criteria andCascadeidNotLike(String value) {
            addCriterion("CascadeId not like", value, "cascadeid");
            return (Criteria) this;
        }

        public Criteria andCascadeidIn(List<String> values) {
            addCriterion("CascadeId in", values, "cascadeid");
            return (Criteria) this;
        }

        public Criteria andCascadeidNotIn(List<String> values) {
            addCriterion("CascadeId not in", values, "cascadeid");
            return (Criteria) this;
        }

        public Criteria andCascadeidBetween(String value1, String value2) {
            addCriterion("CascadeId between", value1, value2, "cascadeid");
            return (Criteria) this;
        }

        public Criteria andCascadeidNotBetween(String value1, String value2) {
            addCriterion("CascadeId not between", value1, value2, "cascadeid");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("`Name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("`Name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("`Name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("`Name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("`Name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("`Name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("`Name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("`Name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("`Name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("`Name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("`Name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("`Name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("`Name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("`Name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andUrlIsNull() {
            addCriterion("Url is null");
            return (Criteria) this;
        }

        public Criteria andUrlIsNotNull() {
            addCriterion("Url is not null");
            return (Criteria) this;
        }

        public Criteria andUrlEqualTo(String value) {
            addCriterion("Url =", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotEqualTo(String value) {
            addCriterion("Url <>", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThan(String value) {
            addCriterion("Url >", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanOrEqualTo(String value) {
            addCriterion("Url >=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThan(String value) {
            addCriterion("Url <", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThanOrEqualTo(String value) {
            addCriterion("Url <=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLike(String value) {
            addCriterion("Url like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotLike(String value) {
            addCriterion("Url not like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlIn(List<String> values) {
            addCriterion("Url in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotIn(List<String> values) {
            addCriterion("Url not in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlBetween(String value1, String value2) {
            addCriterion("Url between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotBetween(String value1, String value2) {
            addCriterion("Url not between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andHotkeyIsNull() {
            addCriterion("HotKey is null");
            return (Criteria) this;
        }

        public Criteria andHotkeyIsNotNull() {
            addCriterion("HotKey is not null");
            return (Criteria) this;
        }

        public Criteria andHotkeyEqualTo(String value) {
            addCriterion("HotKey =", value, "hotkey");
            return (Criteria) this;
        }

        public Criteria andHotkeyNotEqualTo(String value) {
            addCriterion("HotKey <>", value, "hotkey");
            return (Criteria) this;
        }

        public Criteria andHotkeyGreaterThan(String value) {
            addCriterion("HotKey >", value, "hotkey");
            return (Criteria) this;
        }

        public Criteria andHotkeyGreaterThanOrEqualTo(String value) {
            addCriterion("HotKey >=", value, "hotkey");
            return (Criteria) this;
        }

        public Criteria andHotkeyLessThan(String value) {
            addCriterion("HotKey <", value, "hotkey");
            return (Criteria) this;
        }

        public Criteria andHotkeyLessThanOrEqualTo(String value) {
            addCriterion("HotKey <=", value, "hotkey");
            return (Criteria) this;
        }

        public Criteria andHotkeyLike(String value) {
            addCriterion("HotKey like", value, "hotkey");
            return (Criteria) this;
        }

        public Criteria andHotkeyNotLike(String value) {
            addCriterion("HotKey not like", value, "hotkey");
            return (Criteria) this;
        }

        public Criteria andHotkeyIn(List<String> values) {
            addCriterion("HotKey in", values, "hotkey");
            return (Criteria) this;
        }

        public Criteria andHotkeyNotIn(List<String> values) {
            addCriterion("HotKey not in", values, "hotkey");
            return (Criteria) this;
        }

        public Criteria andHotkeyBetween(String value1, String value2) {
            addCriterion("HotKey between", value1, value2, "hotkey");
            return (Criteria) this;
        }

        public Criteria andHotkeyNotBetween(String value1, String value2) {
            addCriterion("HotKey not between", value1, value2, "hotkey");
            return (Criteria) this;
        }

        public Criteria andIsleafIsNull() {
            addCriterion("IsLeaf is null");
            return (Criteria) this;
        }

        public Criteria andIsleafIsNotNull() {
            addCriterion("IsLeaf is not null");
            return (Criteria) this;
        }

        public Criteria andIsleafEqualTo(Byte value) {
            addCriterion("IsLeaf =", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafNotEqualTo(Byte value) {
            addCriterion("IsLeaf <>", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafGreaterThan(Byte value) {
            addCriterion("IsLeaf >", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafGreaterThanOrEqualTo(Byte value) {
            addCriterion("IsLeaf >=", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafLessThan(Byte value) {
            addCriterion("IsLeaf <", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafLessThanOrEqualTo(Byte value) {
            addCriterion("IsLeaf <=", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafIn(List<Byte> values) {
            addCriterion("IsLeaf in", values, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafNotIn(List<Byte> values) {
            addCriterion("IsLeaf not in", values, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafBetween(Byte value1, Byte value2) {
            addCriterion("IsLeaf between", value1, value2, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafNotBetween(Byte value1, Byte value2) {
            addCriterion("IsLeaf not between", value1, value2, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsautoexpandIsNull() {
            addCriterion("IsAutoExpand is null");
            return (Criteria) this;
        }

        public Criteria andIsautoexpandIsNotNull() {
            addCriterion("IsAutoExpand is not null");
            return (Criteria) this;
        }

        public Criteria andIsautoexpandEqualTo(Byte value) {
            addCriterion("IsAutoExpand =", value, "isautoexpand");
            return (Criteria) this;
        }

        public Criteria andIsautoexpandNotEqualTo(Byte value) {
            addCriterion("IsAutoExpand <>", value, "isautoexpand");
            return (Criteria) this;
        }

        public Criteria andIsautoexpandGreaterThan(Byte value) {
            addCriterion("IsAutoExpand >", value, "isautoexpand");
            return (Criteria) this;
        }

        public Criteria andIsautoexpandGreaterThanOrEqualTo(Byte value) {
            addCriterion("IsAutoExpand >=", value, "isautoexpand");
            return (Criteria) this;
        }

        public Criteria andIsautoexpandLessThan(Byte value) {
            addCriterion("IsAutoExpand <", value, "isautoexpand");
            return (Criteria) this;
        }

        public Criteria andIsautoexpandLessThanOrEqualTo(Byte value) {
            addCriterion("IsAutoExpand <=", value, "isautoexpand");
            return (Criteria) this;
        }

        public Criteria andIsautoexpandIn(List<Byte> values) {
            addCriterion("IsAutoExpand in", values, "isautoexpand");
            return (Criteria) this;
        }

        public Criteria andIsautoexpandNotIn(List<Byte> values) {
            addCriterion("IsAutoExpand not in", values, "isautoexpand");
            return (Criteria) this;
        }

        public Criteria andIsautoexpandBetween(Byte value1, Byte value2) {
            addCriterion("IsAutoExpand between", value1, value2, "isautoexpand");
            return (Criteria) this;
        }

        public Criteria andIsautoexpandNotBetween(Byte value1, Byte value2) {
            addCriterion("IsAutoExpand not between", value1, value2, "isautoexpand");
            return (Criteria) this;
        }

        public Criteria andIconnameIsNull() {
            addCriterion("IconName is null");
            return (Criteria) this;
        }

        public Criteria andIconnameIsNotNull() {
            addCriterion("IconName is not null");
            return (Criteria) this;
        }

        public Criteria andIconnameEqualTo(String value) {
            addCriterion("IconName =", value, "iconname");
            return (Criteria) this;
        }

        public Criteria andIconnameNotEqualTo(String value) {
            addCriterion("IconName <>", value, "iconname");
            return (Criteria) this;
        }

        public Criteria andIconnameGreaterThan(String value) {
            addCriterion("IconName >", value, "iconname");
            return (Criteria) this;
        }

        public Criteria andIconnameGreaterThanOrEqualTo(String value) {
            addCriterion("IconName >=", value, "iconname");
            return (Criteria) this;
        }

        public Criteria andIconnameLessThan(String value) {
            addCriterion("IconName <", value, "iconname");
            return (Criteria) this;
        }

        public Criteria andIconnameLessThanOrEqualTo(String value) {
            addCriterion("IconName <=", value, "iconname");
            return (Criteria) this;
        }

        public Criteria andIconnameLike(String value) {
            addCriterion("IconName like", value, "iconname");
            return (Criteria) this;
        }

        public Criteria andIconnameNotLike(String value) {
            addCriterion("IconName not like", value, "iconname");
            return (Criteria) this;
        }

        public Criteria andIconnameIn(List<String> values) {
            addCriterion("IconName in", values, "iconname");
            return (Criteria) this;
        }

        public Criteria andIconnameNotIn(List<String> values) {
            addCriterion("IconName not in", values, "iconname");
            return (Criteria) this;
        }

        public Criteria andIconnameBetween(String value1, String value2) {
            addCriterion("IconName between", value1, value2, "iconname");
            return (Criteria) this;
        }

        public Criteria andIconnameNotBetween(String value1, String value2) {
            addCriterion("IconName not between", value1, value2, "iconname");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("`Status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("`Status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("`Status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("`Status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("`Status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("`Status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("`Status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("`Status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("`Status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("`Status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("`Status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("`Status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andParentnameIsNull() {
            addCriterion("ParentName is null");
            return (Criteria) this;
        }

        public Criteria andParentnameIsNotNull() {
            addCriterion("ParentName is not null");
            return (Criteria) this;
        }

        public Criteria andParentnameEqualTo(String value) {
            addCriterion("ParentName =", value, "parentname");
            return (Criteria) this;
        }

        public Criteria andParentnameNotEqualTo(String value) {
            addCriterion("ParentName <>", value, "parentname");
            return (Criteria) this;
        }

        public Criteria andParentnameGreaterThan(String value) {
            addCriterion("ParentName >", value, "parentname");
            return (Criteria) this;
        }

        public Criteria andParentnameGreaterThanOrEqualTo(String value) {
            addCriterion("ParentName >=", value, "parentname");
            return (Criteria) this;
        }

        public Criteria andParentnameLessThan(String value) {
            addCriterion("ParentName <", value, "parentname");
            return (Criteria) this;
        }

        public Criteria andParentnameLessThanOrEqualTo(String value) {
            addCriterion("ParentName <=", value, "parentname");
            return (Criteria) this;
        }

        public Criteria andParentnameLike(String value) {
            addCriterion("ParentName like", value, "parentname");
            return (Criteria) this;
        }

        public Criteria andParentnameNotLike(String value) {
            addCriterion("ParentName not like", value, "parentname");
            return (Criteria) this;
        }

        public Criteria andParentnameIn(List<String> values) {
            addCriterion("ParentName in", values, "parentname");
            return (Criteria) this;
        }

        public Criteria andParentnameNotIn(List<String> values) {
            addCriterion("ParentName not in", values, "parentname");
            return (Criteria) this;
        }

        public Criteria andParentnameBetween(String value1, String value2) {
            addCriterion("ParentName between", value1, value2, "parentname");
            return (Criteria) this;
        }

        public Criteria andParentnameNotBetween(String value1, String value2) {
            addCriterion("ParentName not between", value1, value2, "parentname");
            return (Criteria) this;
        }

        public Criteria andVectorIsNull() {
            addCriterion("Vector is null");
            return (Criteria) this;
        }

        public Criteria andVectorIsNotNull() {
            addCriterion("Vector is not null");
            return (Criteria) this;
        }

        public Criteria andVectorEqualTo(String value) {
            addCriterion("Vector =", value, "vector");
            return (Criteria) this;
        }

        public Criteria andVectorNotEqualTo(String value) {
            addCriterion("Vector <>", value, "vector");
            return (Criteria) this;
        }

        public Criteria andVectorGreaterThan(String value) {
            addCriterion("Vector >", value, "vector");
            return (Criteria) this;
        }

        public Criteria andVectorGreaterThanOrEqualTo(String value) {
            addCriterion("Vector >=", value, "vector");
            return (Criteria) this;
        }

        public Criteria andVectorLessThan(String value) {
            addCriterion("Vector <", value, "vector");
            return (Criteria) this;
        }

        public Criteria andVectorLessThanOrEqualTo(String value) {
            addCriterion("Vector <=", value, "vector");
            return (Criteria) this;
        }

        public Criteria andVectorLike(String value) {
            addCriterion("Vector like", value, "vector");
            return (Criteria) this;
        }

        public Criteria andVectorNotLike(String value) {
            addCriterion("Vector not like", value, "vector");
            return (Criteria) this;
        }

        public Criteria andVectorIn(List<String> values) {
            addCriterion("Vector in", values, "vector");
            return (Criteria) this;
        }

        public Criteria andVectorNotIn(List<String> values) {
            addCriterion("Vector not in", values, "vector");
            return (Criteria) this;
        }

        public Criteria andVectorBetween(String value1, String value2) {
            addCriterion("Vector between", value1, value2, "vector");
            return (Criteria) this;
        }

        public Criteria andVectorNotBetween(String value1, String value2) {
            addCriterion("Vector not between", value1, value2, "vector");
            return (Criteria) this;
        }

        public Criteria andSortnoIsNull() {
            addCriterion("SortNo is null");
            return (Criteria) this;
        }

        public Criteria andSortnoIsNotNull() {
            addCriterion("SortNo is not null");
            return (Criteria) this;
        }

        public Criteria andSortnoEqualTo(Integer value) {
            addCriterion("SortNo =", value, "sortno");
            return (Criteria) this;
        }

        public Criteria andSortnoNotEqualTo(Integer value) {
            addCriterion("SortNo <>", value, "sortno");
            return (Criteria) this;
        }

        public Criteria andSortnoGreaterThan(Integer value) {
            addCriterion("SortNo >", value, "sortno");
            return (Criteria) this;
        }

        public Criteria andSortnoGreaterThanOrEqualTo(Integer value) {
            addCriterion("SortNo >=", value, "sortno");
            return (Criteria) this;
        }

        public Criteria andSortnoLessThan(Integer value) {
            addCriterion("SortNo <", value, "sortno");
            return (Criteria) this;
        }

        public Criteria andSortnoLessThanOrEqualTo(Integer value) {
            addCriterion("SortNo <=", value, "sortno");
            return (Criteria) this;
        }

        public Criteria andSortnoIn(List<Integer> values) {
            addCriterion("SortNo in", values, "sortno");
            return (Criteria) this;
        }

        public Criteria andSortnoNotIn(List<Integer> values) {
            addCriterion("SortNo not in", values, "sortno");
            return (Criteria) this;
        }

        public Criteria andSortnoBetween(Integer value1, Integer value2) {
            addCriterion("SortNo between", value1, value2, "sortno");
            return (Criteria) this;
        }

        public Criteria andSortnoNotBetween(Integer value1, Integer value2) {
            addCriterion("SortNo not between", value1, value2, "sortno");
            return (Criteria) this;
        }

        public Criteria andParentidIsNull() {
            addCriterion("ParentId is null");
            return (Criteria) this;
        }

        public Criteria andParentidIsNotNull() {
            addCriterion("ParentId is not null");
            return (Criteria) this;
        }

        public Criteria andParentidEqualTo(String value) {
            addCriterion("ParentId =", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotEqualTo(String value) {
            addCriterion("ParentId <>", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThan(String value) {
            addCriterion("ParentId >", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThanOrEqualTo(String value) {
            addCriterion("ParentId >=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThan(String value) {
            addCriterion("ParentId <", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThanOrEqualTo(String value) {
            addCriterion("ParentId <=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLike(String value) {
            addCriterion("ParentId like", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotLike(String value) {
            addCriterion("ParentId not like", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidIn(List<String> values) {
            addCriterion("ParentId in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotIn(List<String> values) {
            addCriterion("ParentId not in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidBetween(String value1, String value2) {
            addCriterion("ParentId between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotBetween(String value1, String value2) {
            addCriterion("ParentId not between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("Code is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("Code is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("Code =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("Code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("Code >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("Code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("Code <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("Code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("Code like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("Code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("Code in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("Code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("Code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("Code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andIssysIsNull() {
            addCriterion("IsSys is null");
            return (Criteria) this;
        }

        public Criteria andIssysIsNotNull() {
            addCriterion("IsSys is not null");
            return (Criteria) this;
        }

        public Criteria andIssysEqualTo(Byte value) {
            addCriterion("IsSys =", value, "issys");
            return (Criteria) this;
        }

        public Criteria andIssysNotEqualTo(Byte value) {
            addCriterion("IsSys <>", value, "issys");
            return (Criteria) this;
        }

        public Criteria andIssysGreaterThan(Byte value) {
            addCriterion("IsSys >", value, "issys");
            return (Criteria) this;
        }

        public Criteria andIssysGreaterThanOrEqualTo(Byte value) {
            addCriterion("IsSys >=", value, "issys");
            return (Criteria) this;
        }

        public Criteria andIssysLessThan(Byte value) {
            addCriterion("IsSys <", value, "issys");
            return (Criteria) this;
        }

        public Criteria andIssysLessThanOrEqualTo(Byte value) {
            addCriterion("IsSys <=", value, "issys");
            return (Criteria) this;
        }

        public Criteria andIssysIn(List<Byte> values) {
            addCriterion("IsSys in", values, "issys");
            return (Criteria) this;
        }

        public Criteria andIssysNotIn(List<Byte> values) {
            addCriterion("IsSys not in", values, "issys");
            return (Criteria) this;
        }

        public Criteria andIssysBetween(Byte value1, Byte value2) {
            addCriterion("IsSys between", value1, value2, "issys");
            return (Criteria) this;
        }

        public Criteria andIssysNotBetween(Byte value1, Byte value2) {
            addCriterion("IsSys not between", value1, value2, "issys");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}